<!DOCTYPE html>
<html lang="zh-Hans">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <link rel="stylesheet" href="../css/materialize.css">
  <style>
    .cart-panel{
      height: 80px;
      line-height: 80px;
      text-align: center;
      font-size: 24px;
      font-weight: 700;
    }
    .grid>div{
      border: 1px solid green;
      line-height: 40px;
    }
    
    /*demo2*/
    .demo2{
      border: 1px dashed #333;
      margin-bottom: 10px;
    }
    .demo2-main{
      height: 500px;
      margin-bottom: 0;
    }
    .demo2-aside{
      background: #90a4ae;
      height: 100%;
    }
    .demo2-content{
      background: #26a69a;
      height: 100%;
    }
  </style>
</head>
<body>
<div class="container">
  <section>
    <div class="cart-panel teal lighten-1">这是一个卡片</div>
    <div class="cart-panel teal-text text-darken-1">这是一个卡片</div>
  </section>
  <div class="row grid">
    <div class="col s8">8</div>
    <div class="col s4">4</div>
    <div class="col offset-s8 s4">4</div>
  </div>
  <div class="divider"></div>
  <div class="section">
    <h5>第一部分</h5>
    <p>集体</p>
  </div>
  <div class="divider"></div>
  <div class="section">
    <h4>第二部分</h4>
    <p>集体</p>
  </div>
  <div class="row">
    <div class="col s6">
      <h1>Section</h1>
      <p>section类常用于简单的顶部和底部填充。只要增加section类到包含内容块的div中。</p>
    </div>
    <div class="col s6">
      <h1>Divider</h1>
      <p>Divider是一个一像素的分隔线。只需在内容之间增加带divider类的div。</p>
    </div>
  </div>
</div>
  <div class="divider"></div>
  <div class="demo2">
    <div class="row demo2-main">
      <div class="col l3 s12 demo2-aside">
        aside
      </div>
      <div class="col l9 s12 demo2-content">
        content
      </div>
    </div>
  </div>
</body>
</html>

<script src="../js/materialize.js"></script>